/**
 * create by young (young2f@outlook.com) on 2020/8/16
 */
'use strict';
module.exports = app => {
  const { router, controller } = app;
  router.post('/api/dynamicLabel/create', controller.dynamicLabel.createDynamicLabel);
  router.post('/api/dynamicLabels/find/all', controller.dynamicLabel.findDynamicLabels);
  // router.post('/api/dynamicLabel/find', controller.dynamicLabel.findDynamicLabel);
  router.post('/api/dynamicLabel/delete', controller.dynamicLabel.deleteDynamicLabel);
  router.post('/api/dynamicLabel/update', controller.dynamicLabel.updateDynamicLabel);
  router.post('/api/dynamicLabels/get', controller.dynamicLabel.getDynamicLabels);
};
